﻿using System;
namespace Model
{
    /// <summary>
    /// 描述:CR_BrandPermissions对应的实体类，
    /// 作者:GLB
    /// 日期:2014/6/9 19:43:23
    ///</summary>
    [Serializable]
    public class BrandPermissions
    {
        /// <summary>
        /// 
        /// </summary>
        public Int32? ID
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        public Int32 PermissionID
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        public String PermissionName
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        public String Controller
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        public String Action
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        public Int32? ActionType
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        public String Remark
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        public Int32? Status
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        public String OperatorID
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        public String OperatorName
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? AddTime
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        public String Pic
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        public Int32? Sort
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        public Int32? IsApp
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        public String Url
        {
            get
            {
                return "../" + this.Controller + "/" + this.Action;
            }
        }
        /// <summary>
        /// 
        /// </summary>
        public Int32 IsShow
        {
            get;
            set;
        }/// <summary>
        /// 
        /// </summary>
        public Int32 IsPermission
        {
            get;
            set;
        }
    }
}

